/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package schoolobjects;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author iyadalagha
 */
public class Course {
    String name;

    public Course() {
    }

    public List<Student> getStudents() {
        return students;
    }

    public void setStudents(List<Student> students) {
        this.students = students;
    }

    public List<Teacher> getTeachers() {
        return teachers;
    }

    public void setTeachers(List<Teacher> teachers) {
        this.teachers = teachers;
    }
    List<Student> students = new ArrayList<Student>();
    List<Teacher> teachers = new ArrayList<Teacher>();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
